<html>

<head>

<title><%=h content_for(:title, "Vocabulary Words") %></title>

<%= stylesheet_link_tag "threecol" %>
<%= stylesheet_link_tag "vocab" %>

</head>

<body>

<div id="header">
	<h1>Vocabulary Words</h1>
</div>

<div class="colmask threecol">
	<div class="colmid">
		<div class="colleft">
			<div class="col1">
				<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam euismod lectus sit amet enim scelerisque aliquet. Proin porta malesuada risus quis semper. Etiam in ligula eu lectus ultricies porttitor. Nulla fermentum elementum justo et vulputate. Fusce placerat ante nec ipsum mollis egestas. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur nibh dolor, interdum eget tempus at, fringilla quis urna. Donec sit amet dui metus. Pellentesque sit amet sapien volutpat purus pulvinar tempor. Donec rutrum lorem sed mi laoreet vulputate. In hendrerit consequat odio, nec fermentum nisi laoreet nec. Nulla eleifend, ligula sed elementum porta, dui nulla lacinia tellus, eget viverra ante purus ultrices libero. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Proin bibendum commodo arcu sit amet accumsan. Mauris vehicula dui eget quam viverra quis consectetur lectus pharetra. Suspendisse dapibus euismod dui ut placerat. Donec sed augue dui. Mauris bibendum tempus nisl. Fusce lacus mi, gravida eget convallis a, bibendum vitae urna. Nam vel libero ipsum, sit amet adipiscing velit.</p>
				<table>
					<tr>
						<th>Japanese</th>
						<th>Romaji</th>
						<th>English</th>
						<!--<th id="notes">Notes</th>-->
						<!--<th>Refs</th>-->
						<th colspan="3">&nbsp;</th>
					</tr>

					<% @vocabularies.each do |vocabulary| %>
					<tr>
						<td class="jword"><%=h vocabulary.japanese %></td>
						<td><%=h vocabulary.romaji %></td>
						<td><%=h vocabulary.english %></td>
						<!--<td><%=h vocabulary.notes %></td>-->
						<!--<td><%=h vocabulary.refs %></td>-->
						<td><%= link_to 'More...', vocabulary %></td>
						<td><%= link_to 'Edit', edit_vocabulary_path(vocabulary) %></td>
						<td><%= link_to 'Delete', vocabulary, :confirm => 'Are you sure?', :method => :delete %></td>
					</tr>
					<% end %>
				</table>
			</div>
			<div class="col2">
				<ul>
					<li><%= link_to 'Add new word', new_vocabulary_path %></li>
					<li><%= link_to "Return to my home page", :controller => "user_main", :action => "index" %></li>
				</ul>
			</div>
			<div class="col3">
				<ul>
					<li><%= link_to 'Logout', :controller => "admin", :action => "logout" %></li>
				</ul>
			</div>
		</div>
	</div>
</div>

<div id="footer"><p>Copyright (C) 2010 by BJ Peter DeLaCruz</p></div>

</body>

</html>